package com.ushine.web.component.page;

/**
 * @Author: yls
 * @Date: 2020/09/06 22:26
 * @Description: 字段的 key-value 实体类
 * @Version 1.0
 */
public class ParamsQuery {
    /**
     * 字段名称
     */
    private String field;
    /**
     * 字段的值
     */
    private Object value;

    /**
     * 字段备注
     */
    private String remark;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "ParamsQuery{" +
                "field='" + field + '\'' +
                ", value=" + value +
                ", remark='" + remark + '\'' +
                '}';
    }

    public String toLogString() {
        return remark + ":" + value;
    }
}
